package com.hb.core.pojo.project.evaluation.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hb.core.pojo.project.evaluation.dto.EvaluationCommitteeBidDTO;
import com.hb.core.pojo.project.evaluation.entity.EvaluationCommitteeBid;
import com.hb.core.pojo.project.evaluation.entity.EvaluationCommitteeMembers;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 评标委员会回避单位信息 Mapper 接口
 * </p>
 *
 * @author ljs
 * @since 2022-1-25 09:20:52
 */
public interface EvaluationCommitteeBidMapper extends BaseMapper<EvaluationCommitteeBid> {
    /**
     *
     * @Description: 分页获取评委会下需要评标的标段列表
     * @Author: zhongdl
     * @Date:2022/2/15 11:43
     * @param pages:
     * @param evaluationCommitteeId:
     * @return: {@link Page< EvaluationCommitteeBidDTO> }
     **/
    Page<EvaluationCommitteeBidDTO> pageCommitteeBidBid(@Param("page") Page pages,@Param("evaluationCommitteeId") Long evaluationCommitteeId);


    /**
     * 查询标段下的评标专家id
     * @author tian
     * @date 2022-4-20 11:35
     * @param sectionId 标段id
     * @param chairmanFlag 是否为组长  1：是   0：否
     * @return java.util.List<java.lang.Long>
     */
    List<EvaluationCommitteeMembers> selectCommitteeMembersBySectionId(@Param("sectionId") Long sectionId, @Param("chairmanFlag") String chairmanFlag);
}
